IF exists(SELECT * FROM dbo.sysobjects WHERE name='emailWisAlles' AND xtype='P') 
BEGIN
	DROP PROCEDURE emailWisAlles
END
GO

create procedure emailWisAlles
(@groepsNr int)
as

delete from emailGroepsleden where groepsNr = @groepsNr